package com.jasperframework.boot.common;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
  * <p> select列表Vo (定义ant design select组件结构) </p>
  *
  * @site https://miliqkdoc.motopa.cn/
  * @author daizhao
  * @date 2022/12/12 12:12
  */

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_EMPTY) //属性为Null,直接不显示, 注意：不能嵌套属性，如果需嵌套加到vo层上
public class AntDesignSelectVo {

    private String label;

    private Object value;

    private boolean disabled = false;

    private String status;

    private String color;

    private String customExtension;

    private List<AntDesignSelectVo> children = new ArrayList<>();

}
